package edu.predatorwars.shared.models;

public class Terrain 
{
	private final boolean traversable;
	private final boolean sightBlocked;
	private final int type;
	
	public static final int EMPTY = -1;
	public static final int WATER = 0;
	public static final int GRASS = 1;
	public static final int MOUNTAIN = 2;
	
	public Terrain(int terrainType, boolean traversable, boolean sightBlocked)
	{
		this.type = terrainType;
		this.sightBlocked = sightBlocked;
		this.traversable = traversable;
	}
	
	
	
	public int getTerrainType()
	{
		return type;
	}
	
	public boolean isTraversable()
	{
		return traversable;
	}
	
	public boolean isSightBlocked()
	{
		return sightBlocked;
	}
}